package com.ztt.service;

import com.ztt.pojo.entity.zttPurchaseDetail;

import java.util.List;

public interface PurchaseDetailService {

    public List<zttPurchaseDetail> selectAllPurchaseDetail();

    public void insertPurchaseDetail(zttPurchaseDetail purchaseDetail);

    public zttPurchaseDetail getPurchaseDetailById(zttPurchaseDetail purchaseDetail);

    public List<zttPurchaseDetail> getPurchaseDetailByProductId(zttPurchaseDetail purchaseDetail);

    public List<zttPurchaseDetail> getPurchaseDetailByPurchaseId(zttPurchaseDetail purchaseDetail);

    public void updatePurchaseDetail(zttPurchaseDetail purchaseDetail);


    public void deletePurchaseDetail(zttPurchaseDetail purchaseDetail);


}
